.jstable {
  tr {
    position: relative;

    td:last-child {
      // background: #000;
      position: relative !important;
    }
  }

  .dNone {
    display: none;
  }

  td:has(> .dNone) {
    border: none;
  }

  // .el-card:has(> .dNone) {
  //   border: none;
  //   background: #000 !important;
  // }

  width: 100%;
  color: var(--unnamed, #222);
  font-size: 13px;

  strong {
    font-weight: 600 !important;
  }

  .j-b-l {
    border-left: 1px solid #ebeef5 !important;
  }

  th {
    color: var(--unnamed, #777);
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #ebeef5 !important;
    vertical-align: middle;
    text-align: left;
    padding: 3px 12px;
  }

  td {
    border-top: 1px solid #ebeef5;
    padding: 10px 12px;
  }

  p {
    padding: 0;
    line-height: 18px;
  }

  .p-text {
    overflow: hidden; // 超出隐藏
  }

  .p-title {
    white-space: normal;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
  }

  .spanDiv {
    display: inline;
    width: 34px;
    height: 19px;
    padding: 0px 4px 0px 4px;
    border-radius: 2px;
    border: 1px solid #cfd4e0;
  }

  tbody tr:hover {
    /* 悬停颜色 */
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
    // background: #f5f7fa;
    transition: all 0.5s;
  }

  .ta {
    background: #000;
  }

  .tb-orders {
    min-width: 60px;

    .tb-copy {
      position: relative;
      top: 2px;
      left: 2px;
      cursor: pointer;
    }

    .detailsPage:hover {
      color: #bc1f22;
      cursor: pointer;
      text-decoration: underline;
    }

    .tb-copy {
      opacity: 0;
    }

    .detailsPage:hover {
      .tb-copy {
        opacity: 1 !important;
        transition: 0.3s;
      }
    }
  }

  .tb-store {
    // min-width: 80px;
    white-space: normal;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;

    img {
      float: left;
      margin-right: 5px;
      margin-top: 2px;
    }

    p {
      white-space: normal;
      word-break: break-all;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      text-overflow: ellipsis;
      overflow: hidden;
      -webkit-line-clamp: 2;
    }
  }

  .tb-address {
    // min-width: 1000px;

    .tb-link {
      cursor: pointer;
      display: flex;
      align-items: center;
      position: relative;

      p {
        padding: 0 5px;
      }

      .editPopover {
        position: absolute;
        top: 20px;
      }
    }
  }

  .tb-Product {
    // min-width: 206px;

    p {
      white-space: normal;
      word-break: break-all;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      text-overflow: ellipsis;
      overflow: hidden;
      -webkit-line-clamp: 2;
    }

    img {
      float: left;
      margin-top: 3px;
    }

    div {
      margin-left: 70px;
    }
  }

  .tb-shipping {
    min-width: 70px;

    img {
      cursor: pointer;
    }

    .address {
      margin: 8px 0;
    }

    .tb-editAddress {
      display: none;
    }
  }

  .tb-total {
    min-width: 80px;
    text-align: right;
    position: relative;
  }

  .tb-productCost,
  .tb-shipping {
    min-width: 90px;
  }

  .tb-shipping {
    .imgfirstChild {
      position: relative;
      top: 2px;
    }
  }

  .statusType {
    width: 6px;
    display: inline-block;
    border-radius: 50%;
    height: 6px;
    background-color: #bc1f22;
  }
}

.editPopover {
  position: absolute;
  // top: 30px;
  margin: 25px 0px 0px -71px;
  padding: 10px 20px !important;
  width: 230px !important;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: var(--color-white, #fff);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  z-index: 9;

  .p13777 {
    width: 80px;
  }

  .el-row {
    padding: 8px 0;
  }

  .dbt {
    margin-left: -3px;
  }

  // .edit-link {
  //   display: flex;
  //   line-height: 24px;
  // }
  // .p13red {
  //   color: var(--unnamed, #bc1f22) !important;
  //   font-size: 13px;
  //   margin: 10px 0;
  // }
  // .edit-left {
  //   min-width: 80px;
  // }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}

.fade-enter,
.fade-leave-to

/* .fade-leave-active in <2.1.8 */
  {
  opacity: 0;
}

.jstable-tb {
  position: absolute;
  bottom: 12px;
  right: 10px;
  // display: flex;
  min-width: 250px;
  text-align: right;
}

.jsbTb {
  margin-left: 8px;
  border-radius: 3px;
  padding: 5px 10px;
  border: 1px solid var(--unnamed, #c7cdd5);
  background: #fff;
  cursor: pointer;
}

.jsbTb:active,
.jsbTb:hover {
  border: 1px solid var(--unnamed, #bc1f22);
  color: #bc1f22;
  transition: 0.5s;
}

.checkoutList {
  .detailsPage:hover {
    color: #222 !important;
    cursor: text !important;
    text-decoration: none !important;
  }

  td {
    padding-bottom: 45px;
    -webkit-position: relative;
  }

  .checkoutListEdit {
    margin-top: 2px;
  }

  .checkoutListEditHtml {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    z-index: 9;
  }

  .checkoutListEdit:hover {
    color: #bc1f22;
  }

  .checkoutListEdit:hover .editImg {
    display: block !important;
  }

  .ml-5 {
    margin-left: 5px;
    display: none;
    z-index: 99;
  }

  .tb-remark,
  .tb-notRemark {
    position: absolute;
    bottom: 12px;
    left: 12px;
    height: 16px;
    line-height: 19px;
    display: flex;
    width: fit-available;
    width: -webkit-fill-available;
  }

  .tb-remark {
    color: #bc1f22;

    img {
      display: none;
      margin-left: 5px;
      cursor: pointer;
      z-index: 99;
    }
  }

  .tb-remark:hover {
    img {
      display: block !important;
    }
  }

  .tb-notRemark {
    img {
      margin-right: 5px;
      cursor: pointer;
    }
  }

  .dNone-1 {
    display: none !important;
  }
}

.cLdialog .el-dialog__footer {
  text-align: center;
}

.Merchant {
  th {
    padding: 10px 12px;
  }

  .tb-action {
    // display: none;
    text-align: right;

    .jsbTb {
      width: 220px;
    }
  }
}

.rotate180 {
  transform: rotate(180deg);
}

/* Safari Mac specific alterations
 * (relies on class added by js browser detection above),
 * to take into account different font metrics */
.safari-mac {
  .checkoutList {
    td {
      position: relative;
    }
  }
}